package sniper.targets;

/**
 * 
 * Generic interface for <tt>Target</tt>s to publish data onto.
 * 
 * @author Alessio Pace
 */
public interface Target {

	/**
	 * TODO: a method for publishing content, returning information on the actual submission result (the url to visit for example).
	 * XXX: what's the return type? A custom object? Just an URL / String ?
	 * 
	 * TODO: define a custom Exception type (like SubmitException)
	 * 
	 * @throws Exception 
	 */
	public abstract void submit(String snippet) throws Exception;
}
